from playwright.sync_api import sync_playwright


class WebdriverFactory:
    @staticmethod
    def get_webdriver():
        playwright = sync_playwright().start()

        browser = playwright.chromium.launch(headless=False)

        return browser
